<template>
		<div class="row">
			<div class="column" v-for="item in $props.list">
				<span class="iconfont" v-if="item.icon" v-html="item.value">
				</span>
				<span v-else>
					{{item.value}}
				</span>
				<span style="color:#666; font-size: 1em;">
					{{item.name}}
				</span>
			</div>
		</div>
</template>

<script lang="ts">
	import {defineComponent} from 'vue'
	export default defineComponent({
		props:{
			list:{
				type:Array,
				default:[]
			}
		},
		setup(){
			
		}
	})
</script>

<style scoped="scoped">
	.row{
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}
	.column{
		display: flex;
		padding:5px;
		flex-direction: column;
		align-items: center;
	}
</style>
